const jsonData = {
  nodes: [
    {
      id: '1',
      type: 'index',
      name: '药占比',
      data: 26.3,
      unit: '%',
      degree: 1,
      size: 110,
    },
    {
      id: '2',
      type: 'index',
      name: '住院药占比',
      data: 27.8,
      unit: '%',
      degree: 2,
      size: 32,
    },
    {
      id: '3',
      type: 'index',
      name: '门诊药占比',
      data: 37.8,
      unit: '%',
      degree: 2,
      size: 32,
    },
    {
      id: '4',
      type: 'index',
      name: '药品总收入',
      data: 345.45,
      unit: '万元',
      degree: 2,
      size: 32,
    },
    {
      id: '5',
      type: 'index',
      name: '医药总收入',
      data: 8945.89,
      unit: '万元',
      degree: 2,
      size: 32,
    },
    {
      id: '6',
      type: 'factor',
      name: '住院总收入',
      data: 5679.78,
      unit: '万元',
      degree: 3,
      size: 22,
    },
    {
      id: '7',
      type: 'factor',
      name: '住院药品总收入',
      data: 1679.78,
      unit: '万元',
      degree: 3,
      size: 22,
    },
    {
      id: '8',
      type: 'factor',
      name: '门诊总收入',
      data: 1679.78,
      unit: '万元',
      degree: 3,
      size: 22,
    },
    {
      id: '9',
      type: 'factor',
      name: '门诊药品总收入',
      data: 1679.78,
      unit: '万元',
      degree: 3,
      size: 22,
    },
  ],
  edges: [
    {
      id: '14',
      source: '1',
      target: '2',
    },
    {
      id: '15',
      source: '1',
      target: '3',
    },
    {
      id: '16',
      source: '1',
      target: '4',
    },
    {
      id: '17',
      source: '1',
      target: '5',
    },
    {
      id: '18',
      source: '2',
      target: '6',
    },
    {
      id: '19',
      source: '2',
      target: '7',
    },
    {
      id: '20',
      source: '3',
      target: '8',
    },
    {
      id: '21',
      source: '3',
      target: '9',
    },
    {
      id: '22',
      source: '4',
      target: '7',
    },
    {
      id: '23',
      source: '4',
      target: '9',
    },
    {
      id: '24',
      source: '5',
      target: '7',
    },
    {
      id: '25',
      source: '5',
      target: '9',
    },
  ],
};

export default {
  'POST /local/g6GraphQuery': {
    success: true,
    message: '请求成功',
    entity: jsonData,
  },
};
